package com.pxl.dao;

import com.pxl.entity.Institution;
import com.pxl.entity.Student;
import com.pxl.entity.Teacher;

import java.util.*;

public interface UserDao {

    // 根据学生 id 查询学生
    public Student selectStuById(int id);
    // 根据教师 id 查询教师
    public Teacher selectTeaById(int id);

    public void changeStuPass(Student student);


    public List<Teacher> queryAllTeacher();

    public List<Institution> queryAllIns();

    public void changeTeaPass(Teacher teacher);
}
